*** Combine main effects

cd /homes/nber/jetson-dua52260/poterba-DUA52260/jetson-dua52260
graph combine outliers/synth/100pct/robustness/forwardonly/OutliersOverlayForward.gph  botox/synth/100pct/robustness/forwardonly/BotoxOverlayForward.gph, l1title("$/Month") graphregion(color(white)) saving("multipanel/robustness/forwardonly/forwardonly_top.gph", replace)
graph combine kyphon/synthcontrolsshort/100pct/robustness/forwardonly/KyphoShortOverlayForward.gph ipop/robustness/forwardonly/graphs/chsOverlayForward.gph, l1title("$/Month") graphregion(color(white))  saving("multipanel/robustness/forwardonly/forwardonly_bottom.gph", replace)
graph combine "multipanel/robustness/forwardonly/forwardonly_top.gph" "multipanel/robustness/forwardonly/forwardonly_bottom.gph", graphregion(color(white)) col(1)
graph save "multipanel/robustness/forwardonly/forwardonly.gph", replace
graph export "multipanel/robustness/forwardonly/MultiPanel_Forwardonly.pdf", replace


** Make copy to local machine
** NB this also brings in .gph files
scp jetson-dua52260@age1.nber.org:/homes/nber/jetson-dua52260/poterba-DUA52260/jetson-dua52260/multipanel/robustness/forwardonly/* /users/jetson/desktop/

*********************************************************
*** Combine substitution effects
cd /homes/nber/jetson-dua52260/poterba-DUA52260/jetson-dua52260
graph combine kyphon/substitutes/robustness/forwardonly/KyphoSubstituteOverlay.gph ipop/substitutes/robustness/forwardonly/graphs/chsOverlay.gph, l1title("$/Month") xsize(10)  graphregion(color(white)) saving("multipanel/robustness/forwardonly/substitutes.gph", replace) 


*** Manually edit substitutes
cd /homes/nber/jetson-dua52260/poterba-DUA52260/jetson-dua52260
graph use "multipanel/robustness/forwardonly/substitutes.gph"
* Make changes in graph editor
	* Y axis title: Remove $/month in each
	* Add sub headers
	* Make sure time starts at 02 each
	* Consistent format Y axis label to "Mil"
	* Change CHS to "Outpatient  at CHS"
	* Change Kypho to "Outpatient Spine Procedures"
	* Background colors to white
	* Red lines to dashed
	* Same scale as main effects: 0-50 mil for kypho, 0 -200 mil for IPOP

graph save "multipanel/robusntess/forwardonly/substitutes", replace 
graph export "multipanel/robustness/forwardonly/MultiPanel_Substitutes.pdf", replace



